.class Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$2;
.super Ljava/lang/Object;
.source "SPBrandEngageClient.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->startQueryingOffers(Lcom/sponsorpay/sdk/android/credentials/SPCredentials;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;


# direct methods
.method constructor <init>(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$2;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    .line 207
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 210
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$2;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mStatus:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;
    invoke-static {v0}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$0(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    move-result-object v0

    sget-object v1, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;->QUERYING_SERVER_FOR_OFFERS:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageOffersStatus;

    if-ne v0, v1, :cond_0

    .line 211
    const-string v0, "SPBrandEngageClient"

    const-string v1, "Timeout reached, canceling request..."

    invoke-static {v0, v1}, Lcom/sponsorpay/sdk/android/utils/SponsorPayLogger;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 212
    iget-object v0, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$2;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #calls: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->clearWebViewPage()V
    invoke-static {v0}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$3(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)V

    .line 214
    :cond_0
    return-void
.end method
